package com.hulk.ratel.web.control.other;


import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * @author hulk
 * @date 2019/12/05
 * HeartBeatCtl
 */
@Slf4j
@RestController
@RequestMapping(value = "/rest")
public class HeartBeatCtl {


    @GetMapping("/heartbeat")
    @ResponseBody
    public String execute() {
        log.info("ratel-admin heartbeat...");
        return "ratel-admin heartbeat...";
    }

}
